<?php
/**
 * MatchDart! is a darts event ranking table component for joomla
 * 
 * @version		2.0.1 | $Id: matches.php 97 2009-08-29 14:07:13Z mwi.nor $
 * @package		MatchDart!
 * @subpackage	Admin
 * @copyright	Copyright (C) 2005 - 2009 Marco Wilde. All rights reserved.
 * @license		GNU/GPL, see LICENSE.php
 * @author		Marco Wilde, <mailto://info@matchdart.de>
 * @link		http://www.matchdart.de
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

// no direct access
defined('_JEXEC') or die('Restricted access');

class TableMatches extends JTable
{
	public $MatchID = null;
	public $MatchCreated = null;
	public $MatchDate = null;
	public $MatchEventID = null;
	public $MatchSeasonID = null;
	public $MatchVenueID = null;
	public $MatchResult = null;
	public $MatchType = null;
	public $MatchUseXStats = null;
	
	public $MatchHomePlayerID = null;
	public $MatchHomeTeamID = null;
	public $MatchHomeSets = null;
	public $MatchHomeLegs = null;
	public $MatchHomeLWAT = null;	//Break (Legs Won Against Throw)
	public $MatchHomeBonus = null;
	public $MatchHomeHC = null;
	public $MatchHome180 = null;
	public $MatchHome140 = null;
	public $MatchHome100 = null;
	public $MatchHomeAVG3 = null;
	public $MatchHomeAVG1 = null;
	
	public $MatchAwayPlayerID = null;
	public $MatchAwayTeamID = null;
	public $MatchAwaySets = null;
	public $MatchAwayLegs = null;
	public $MatchAwayLWAT = null;
	public $MatchAwayBonus = null;
	public $MatchAwayHC = null;
	public $MatchAway180 = null;
	public $MatchAway140 = null;
	public $MatchAway100 = null;
	public $MatchAwayAVG3 = null;
	public $MatchAwayAVG1 = null;
	
	public function TableMatches( &$db ) {
		parent::__construct('#__md_matches', 'MatchID', $db);
	}
}
?>